/*
 * Matthew Cramer, Jesse Martinez, Marc Mendoza 
 * CSE 325 Lab 6
 * File: FileSystem.h
 * Description: 
 *
 */
 
 #ifndef FILESYSTEM_H_INCLUDED
 #define FILESYSTEM_H_INCLUDED
 int getSizeOfHD();
file_control_block* getHardDrive();
//int bad_block(int block);
int getDirLoc(int dirId);
int getFileLoc(int dirLoc, int fileId);
int isOpen(int dirLoc, int fileId);
void initHD();
void format();
void mountfs();
void create_directory(int id);
int openFile(int dirId, int fileId, int perm);
int readBlock(int dirId, int fileId, int blockNum, int bufNum);
int writeBlock(int dirId, int fileId, int blockNum, int bufNum);
int closeFile(int dirId, int fileId);
int *deleteObjects(int dirId, int fileId);
int unmountfs();
 #endif